package com.niit.project.service;

import com.niit.project.entity.Goods;
import com.niit.project.entity.Page;

import java.util.List;

public interface GoodsService {
    public List<Goods> showAllByPage(Page page);
    //封禁商品，即将列表中的商品删除
    public int deleteGoods(String goodname);
    public int addGoods(Goods goods);
    public Goods selectGoodsById(int id);

    public int modifyGoods(Goods goods);

    public List<Goods> showSearch(Page page);
}
